package com.krtech.wecard.module.sys.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 二维码截图冻结名单
 */
@ApiModel(value = "com-krtech-wecard-module-sys-entity-OrcodeFreezeList")
@Data
@TableName(value = "orcode_freeze_list")
public class OrcodeFreezeList implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 创建人
     */
    @TableField(value = "CREATED_BY")
    @ApiModelProperty(value = "创建人")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField(value = "CREATED_TIME")
    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    /**
     * 更新人
     */
    @TableField(value = "UPDATED_BY")
    @ApiModelProperty(value = "更新人")
    private String updatedBy;

    /**
     * 更新时间
     */
    @TableField(value = "UPDATED_TIME")
    @ApiModelProperty(value = "更新时间")
    private Date updatedTime;

    /**
     * 姓名
     */
    @TableField(value = "name")
    @ApiModelProperty(value = "姓名")
    private String name;

    /**
     * 学工号
     */
    @TableField(value = "code")
    @ApiModelProperty(value = "学工号")
    private String code;

    /**
     * 冻结时间
     */
    @TableField(value = "freeze_time")
    @ApiModelProperty(value = "冻结时间")
    private Date freezeTime;

    /**
     * 解冻时间
     */
    @TableField(value = "unfreeze_time")
    @ApiModelProperty(value = "解冻时间")
    private Date unfreezeTime;

    /**
     * 冻结原因
     */
    @TableField(value = "freeze_reason")
    @ApiModelProperty(value = "冻结原因")
    private String freezeReason;

    /**
     * 冻结方式
     */
    @TableField(value = "freeze_function")
    @ApiModelProperty(value = "冻结方式")
    private String freezeFunction;

    /**
     * 软删除
     */
    @TableField(value = "del_flag")
    @ApiModelProperty(value = "软删除")
    @TableLogic
    private Integer delFlag;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_CREATED_BY = "CREATED_BY";

    public static final String COL_CREATED_TIME = "CREATED_TIME";

    public static final String COL_UPDATED_BY = "UPDATED_BY";

    public static final String COL_UPDATED_TIME = "UPDATED_TIME";

    public static final String COL_NAME = "name";

    public static final String COL_CODE = "code";

    public static final String COL_FREEZE_TIME = "freeze_time";

    public static final String COL_UNFREEZE_TIME = "unfreeze_time";

    public static final String COL_FREEZE_REASON = "freeze_reason";

    public static final String COL_FREEZE_FUNCTION = "freeze_function";

    public static final String COL_DEL_FLAG = "del_flag";
}